package com.itheima.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.SmsCouponProductCategoryRelation;

/**
* @author lenovo
* @description 针对表【sms_coupon_product_category_relation(优惠券和产品分类关系表)】的数据库操作Service
* @createDate 2022-10-11 14:26:17
*/
public interface SmsCouponProductCategoryRelationApi{

    //根据couponId删除productCategoryRelation
    void deleteByCouponId(Integer id);
    //构建SmsCouponProductCategoryRelation对象
    void saveCouponProductCategoryRelation(SmsCouponProductCategoryRelation productCategoryRelationList);
    //更新SmsCouponProductCategoryRelation对象
    void updateCouponProductCategoryRelation(SmsCouponProductCategoryRelation productCategoryRelationList);
    //查找SmsCouponProductCategoryRelation
    SmsCouponProductCategoryRelation findByCouponId(Integer id);
}
